package appapi.service;

import appapi.Request.DismantReq;
import appapi.Vo.GetDismantPageVo;
import appapi.entity.Zhongjiao.EquipmentdismantDto;
import appapi.entity.basic.UserInfo;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author djq
 * @date 2023/5/18 9:25
 * @description:
 */
@Repository
public interface IEquipmentdismantService {
    List<Map<String, Object>> SelectDismantList(Long equipId);

    Map<String, Object> SelectDismantDetail(Long dismId);

    void InsertEquipmentdismant(EquipmentdismantDto dto);

    void UpdateEquipmentdismant(EquipmentdismantDto dto);

    int DelEquipmentdismant(List<Long> dismId);

    List<GetDismantPageVo> SelectDismantPage(HttpServletRequest request, DismantReq req);

    List<GetDismantPageVo> SelectDismantPage(UserInfo userInfo, DismantReq req);

    List<GetDismantPageVo> getList(DismantReq req);
}
